<?php
$dom= new DOMDocument('1.0','ISO-8859-1');
$dom->loadXML($content);
$items=$dom->getElementsByTagName('item');

foreach ($items as $item) {
    echo getevalue($item,'title');
}

function getevalue($item,$name) {
    $list=$item->getElementsByTagName($name);
    if ($list->length>0) {
        return $list->item(0)->firstChild->nodeValue;
    }   
    return false;
}
